package junior.db.dao.base;

/**
 * @author wubo
 * @date 2022/6/20 10:51
 */
public class Limit {
    private Integer start;
    private final Integer limit;
    
    public Limit(Integer limit) {
        this.limit = limit;
    }
    
    public Limit(Integer start, Integer limit) {
        this.start = start;
        this.limit = limit;
    }
    
    public Integer getStart() {
        return start;
    }
    public Integer getLimit() {
        return limit;
    }
}
